import VueSocketIO from 'vue-socket.io'
import UrlResource from '@/StaticResource/UrlResources.js';
import AppConfigResource from '@/StaticResource/AppConfigResource.js';

let SocketIOConfig = new VueSocketIO({
	debug: AppConfigResource.isOpenSocketIODebug,
	// SocketIO 服务器端地址
	connection: UrlResource.socketIOServer,
	vuex: {},
    options: {
        autoConnect: false
    //     forceNew: true,
    }
})

export default SocketIOConfig
